package com.frank.model.entity.user;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName system_log
 */
@TableName(value ="system_log")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SystemLog implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String username;

    private String agent;

    private String ip;

    private String address;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}